package itdep.common.domain;

import org.springframework.context.ApplicationEvent;

import java.util.Date;

/**
 * @author $Author: ikhalopik $
 * @version $Revision: 4 $   $Date: 2010-06-10 13:13:16 +0000 (Thu, 10 Jun 2010) $
 */
public interface EventDao<E extends ApplicationEvent> {
	void save(final E event);

	void delete(final E event);

	void deleteOverPeriod(final Date start, final Date end);

}